waypt_out_count = 0;
time = gpsbabel_time;
- tm = *localtime(&time);
+ if (time == 0) /* testo script ? */
+ tm = *gmtime(&time);
+ else
+ tm = *localtime(&time);
/* output prologue lines, if any. */
QUEUE_FOR_EACH(&xcsv_file.prologue, elem, tmp) {
TomTom Navigator Places of Interest\r
GPSBabel- ASCII Export\r
Points\r
- Created at: Thu Jan 01 01:00:00 1970\r
+ Created at: Thu Jan 01 00:00:00 1970\r
-71.119277,42.438878,"5066"\r
-71.119689,42.439227,"5067"\r
-71.116146,42.438917,"5096"\r